package com.code.springbootmybatismysql.mapper;

import com.code.springbootmybatismysql.model.User;
import org.apache.ibatis.annotations.Mapper;

/*
 * @author: liyufei
 * @date: 2018-05-29 11:03
 */
@Mapper
public interface UserMapper {

    User getUserByUsername(String username);

    void insertUser(User user);
}
